package com.bc.trade.message;

import com.bc.common.message.BaseResp;

/**
 * 查询订单返回数据载体
 * 
 * @author Reed
 * @date 2017年9月22日
 */
public class QueryOrderResp extends BaseResp {
	//商户订单号
	private String merchOrderNo;
	//系统订单号
	private String orderNo;
	//金额
	private String amount;
	//创建时间
	private String createTime;
	//交易时间
	private String payTime;
	//原交易响应吗-交易依此为准
	private String originalRespCode;
	//响应信息
	private String originalRespMsg;
	
	public QueryOrderResp() {
		
	}

	public QueryOrderResp(QueryOrderReq req) {
		super(req);
		this.merchOrderNo = req.getMerchOrderNo();
	}

	public QueryOrderResp setCodeAndMsg(String code, String msg) {
		this.respCode = code;
		this.respMsg = msg;
		return this;
	}
	
	
	public String getMerchOrderNo() {
		return merchOrderNo;
	}

	public void setMerchOrderNo(String merchOrderNo) {
		this.merchOrderNo = merchOrderNo;
	}

	public String getOrderNo() {
		return orderNo;
	}

	public void setOrderNo(String orderNo) {
		this.orderNo = orderNo;
	}

	public String getAmount() {
		return amount;
	}

	public void setAmount(String amount) {
		this.amount = amount;
	}

	public String getCreateTime() {
		return createTime;
	}

	public void setCreateTime(String createTime) {
		this.createTime = createTime;
	}


	public String getPayTime() {
		return payTime;
	}

	public void setPayTime(String payTime) {
		this.payTime = payTime;
	}

	public String getOriginalRespCode() {
		return originalRespCode;
	}

	public void setOriginalRespCode(String originalRespCode) {
		this.originalRespCode = originalRespCode;
	}

	public String getOriginalRespMsg() {
		return originalRespMsg;
	}

	public void setOriginalRespMsg(String originalRespMsg) {
		this.originalRespMsg = originalRespMsg;
	}

}
